﻿@using NTQOnlineExam.Services.Infrastructure.MVC
@model NTQOnlineExamFrontend.Models.TermYearViewModel
<div class="panel panel-default">
    <div class="panel-heading">
        <a href="#help-nav-one" data-parent="#help-nav" data-toggle="collapse" class="">@this.LocalResources("Terms")</a>
    </div>
    <div class="panel-collapse collapse in" id="help-nav-one" style="height: auto;">
        <div class="panel-body">
            <ul>
                @foreach (var c in Model.Years)
                {
                    <li>
                        <a href="@Url.RouteUrl(new { Controller = "Term", Action = "GetTerms", year = @c.Id})">@c.Name.ToUpper()</a>
                    </li>
                }
            </ul>
        </div>
    </div>
</div>
